<!DOCTYPE html>
<html lang="en">
<head>

	<meta charset="utf-8">
	<title>aXis - Logging Out</title>
	<?php $this->load->view('generic/loadablesSnippet');?>
	
	<script>
	$(function() {
		$( "#login" ).accordion({
			autoHeight: false,
			collapsible: true
		});
	});
	</script>
	
	<script>
	function OnSubmitForm(){
		if(document.pressed == "Login"){
			if(document.adminlogin.username.value!=""&&document.adminlogin.password.value!=""){
				document.adminlogin.action ="<?php echo base_url();?>index.php/loginPageController/validate_entry/";
				return true;
			}else{
				alert("Please fill out all fields!");
				return false;
			}
		}
	}
	</script>
	
</head>

<body>

<div class="demo">

	<div id="header"><h1>ACCI eXtreme Information System</h1></div>

	<div id="login">
	
		<h3><a href="#section1">Goodbye</a></h3>
		<div>
			<h3>You are logged out</h3>
			<img src="<?php echo base_url();?>application/images/relic/correct.png"/>
			We hope you come back soon.
		</div>

	</div><!-- End login -->
	<br/>
	<div style="background-color:#FFFF99;">
		<?php
			$baseurl = base_url();		
			$baseurl .= "index.php/loginPageController/";
			
			echo "<a href=\"".$baseurl."\" style=\"color:red\">Click here if your browser does not redirect you in 5 seconds...</a>";
			header("Refresh: 5; url=$baseurl ");
		?>	
	</div>	
	
</div><!-- End demo -->

</body>
</html>
